package com.kyub.spring.gears.web;

import com.kyub.spring.gears.services.FileStorageService;
import com.kyub.spring.gears.services.impl.LacalFileStorageService;

/**
 * Config holder bean for crud controller
 */
public class CrudControllerConfig {

    protected String datePattern = "dd-MM-yyyy";
    protected String resfullPrefix = "clinic";
    protected String templateFolder = "gears";

    protected FileStorageService fileStorage = new LacalFileStorageService();

    public String getDatePattern() {
        return datePattern;
    }

    public void setDatePattern(String datePattern) {
        this.datePattern = datePattern;
    }

    public String getResfullPrefix() {
        return resfullPrefix;
    }

    public void setResfullPrefix(String resfullPrefix) {
        this.resfullPrefix = resfullPrefix;
    }

    public String getTemplateFolder() {
        return templateFolder;
    }

    public void setTemplateFolder(String templateFolder) {
        this.templateFolder = templateFolder;
    }

    public FileStorageService getFileStorage() {
        return fileStorage;
    }

    public void setFileStorage(FileStorageService fileStorage) {
        this.fileStorage = fileStorage;
    }
}
